<div class="row">

    <div class="col-md-12">      		
    	
    	<div class="widget stacked ">
    
            <div class="widget-header">
                <i class="icon-list"></i>
                <h3><?php echo isset($title_for_layout)?$title_for_layout:$this->l('List of languages'); ?></h3>
            </div> <!-- /.widget-header -->
            
            <div class="widget-content">

                <section id="tables">
                    <div class="page-header">
                        <h3><?php echo $this->l('List of languages'); ?></h3>
                    </div>
                    
                    <div class="table-responsive">
                        <table class="table table-bordered table-hover table-striped">
                        	<thead>
                                <tr>
                                    <th><?php echo $this->l('Iso code'); ?></th>
                                    <th><?php echo $this->l('Language'); ?></th>
                                    <th class="td-actions" width="100">&nbsp;</th>
                                </tr>
                        	</thead>
                        	<tbody>
                        		<?php foreach ($items as $k => $v): ?>
                        			<tr<?php echo ($k%2)?' class="alternate_item"':''; ?>>
                        				<td><?php echo $v['iso_code']; ?></td>
                        				<td><?php echo $v['lang']; ?></td>
                						<td class="td-actions">
                							<a title="<?php echo $this->l('Edit translation'); ?>" href="<?php echo base_url('Cpannel/Translation/Translate/?iso_code='. $v['iso_code']); ?>" class="btn btn-xs btn-primary">
                								<i class="btn-icon-only icon-edit"></i>	<?php echo $this->l('Edit translation'); ?>									
                							</a>
                						</td>
                        			</tr>
                        		<?php endforeach ?>
                        	</tbody>
                        </table>
                    </div> <!-- /.table-responsive -->
                    
                </section>
    			
    		</div> <!-- /widget-content -->
    			
    	</div> <!-- /widget -->
    	
    </div> <!-- /span12 -->

</div> <!-- /row -->
</table>